<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/fenye.css">
  </head>
  
  <body>
		<table border="1" align="center">
			<tr>
				<td colspan="6">
					<form action="sou" method="post">
						<input type="text" name="productName"
							value="">
						<input type="submit" value="搜索">
					</form>
				</td>
			</tr>
			<tr align="right">
				<td colspan="6">

				</td>
			</tr>
			<tr>
				<th width="126">
					产品
				</th>
				<th width="99">
					产品编号
				</th>

				<th width="300">
					产品名称
				</th>
				<th width="99">
					产品原价
				</th>
				<th width="99">
					产品特价
				</th>
				<th width="120">
					操作
				</th>
			</tr>

			<c:forEach items="${list}" var="Imp1">
				<tr>
					<td align="center">
						${Imp1.id }
					</td>
					<td align="center">
						<img src="${Imp1.img} " width=126 />
					</td>
					<td align="center">
						${Imp1.name}
					</td>
					<td align="center">
						${Imp1.oldprice }

					</td>
					<td align="center">
						${Imp1.newprice }
					</td>
					<td align="center">
						删除|修改
					</td>
				</tr>

			</c:forEach>

</table>
		${pagination}
	</body>
</html>
